From f77bcda911209b8e35509c5bff0805e5c7fc5e59 Mon Sep 17 00:00:00 2001 From: Maximilian Engelhardt Date: Thu, 5 Jan 2023 21:01:13 +0100 Subject: [PATCH] debian: switch to debhelper compat version 13 Thanks to Diederik de Haas for helping with this. Signed-off-by: Maximilian Engelhardt --- debian/compat | 1 - debian/control | 2 +- debian/rules | 12 +++--------- 3 files changed, 4 insertions(+), 11 deletions(-) delete mode 100644 debian/compat diff --git a/debian/compat b/debian/compat deleted file mode 100644 index f599e28b8a..0000000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -10 diff --git a/debian/control b/debian/control index 20136b144f..69ab5ab1cd 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Uploaders: Ian Jackson , Hans van Kranenburg = 10), + debhelper-compat (= 13), dh-exec, dpkg-dev (>= 1.16.0~), file, diff --git a/debian/rules b/debian/rules index 78bfdf5ea5..7f03e5cf9f 100755 --- a/debian/rules +++ b/debian/rules @@ -301,16 +301,10 @@ override_dh_installinit: dh_installinit --name xen --no-start -- defaults dh_installinit --name xendomains --no-start -- defaults -# dh_strip in dh compat 10 and earlier (which we are at so this -# package builds on stretch) looks at filenames and modes to decide -# what to process. hvmloader doesn't match, so we must trick it. -# It is sufficient to make it executable. And we have to undo -# that again, then. This all happens after dh_install so we operate -# on the package-specific file. +# Don't strip the .note section from xen-shim. See also +# debian/xen-utils-V.lintian-overrides.vsn-in override_dh_strip: - find debian/xen-utils-* -name hvmloader | xargs -r chmod -v +x - dh_strip - find debian/xen-utils-* -name hvmloader | xargs -r chmod -v -x + dh_strip --exclude=xen-shim # Hardlink the various xenstore-* programs together. This is an # argv[0]-using binary of which we can have only one copy. We need to -- 2.30.2